/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package optimization;

/**
 *
 * @author yulian
 */

public class SQLParsingException extends java.lang.Exception {
    private boolean committed;
    /**
     * Creates a new instance of <code>TransCompleteException</code>.
     */
    public SQLParsingException(boolean commit) {
    	committed = commit;
    }

    /**
     * Constructs an instance of <code>TransCompleteException</code> with the specified
     * detail message.
     *
     * @param message.
     */
    public SQLParsingException(String message) {
        super(message);
    }

    public boolean Successful() {
    	return committed;
    }
}